BeginGetJpipResponse(string,RequestFields,byte[],AddDatabinCallback,AsyncCallback,object) Method

Summary

Makes an asynchronous request to a JPIP server.

Syntax
C#
VB
C++
public IAsyncResult BeginGetJpipResponse( 
   string path, 
   RequestFields requestFields, 
   byte[] postedData, 
   AddDatabinCallback addDatabinCallback, 
   AsyncCallback callBack, 
   object state 
) 
  
Public Overloads Function BeginGetJpipResponse( _ 
   ByVal path As String, _ 
   ByVal requestFields As RequestFields, _ 
   ByVal postedData() As Byte, _ 
   ByVal addDatabinCallback As AddDatabinCallback, _ 
   ByVal callBack As AsyncCallback, _ 
   ByVal state As Object _ 
) As IAsyncResult 
public: 
IAsyncResult^ BeginGetJpipResponse(  
   String^ path, 
   RequestFields^ requestFields, 
   array<byte>^ postedData, 
   AddDatabinCallback^ addDatabinCallback, 
   AsyncCallback^ callBack, 
   Object^ state 
)  

Parameters

path
A System.String representing the resource to locate at the server. This is usually the image name to locate.

requestFields
A Leadtools.Jpip.RequestFields object which contains the JPIP fields.

postedData
An array of System.Byte that contains data to send in the request body.

addDatabinCallback
A delegate of type AddDatabinCallback to be called whenever a new data-bin is read.

callBack
A System.Delegate to call when this method is completed and a response is received from the server.

state
An System.Object that contains state information for this request.

Return Value

An System.IAsyncResult that references the asynchronous request.

Remarks

To use this method, create a callback method that implements the AsyncCallback delegate and pass its name to the BeginGetJpipResponse method.

The callback method should invoke the EndGetJpipResponse method.

Example

For an example, refer to JpipClient.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.